{% extends "base.html" %}

{% block title %}{{ block.super }} - My Friends{% endblock %}
{% block header %}My Friends{% endblock %}

{% block content %}
    {% if has_friends %}
        <ul>
        {% for friend_profile in friend_list %}
            <li>Friend with website at: <a href="{% url sreg_friend_detail friend_profile.id %}">{{ friend_profile.get_display_name }}</a></li>
        {% endfor %}
        </ul>
    {% else %}
        <p>Sorry, you have no friends listed in the system.</p>
    {% endif %}
{% endblock %}


{% block bottomnav %}
<li><a href="{% url sreg_friend_add %}">Add a Friend</a></li>
<li><a href="{% url sreg_friend_autoadd %}">Auto-Add Friends</a></li>
<li><a href="{% url sreg_friend_delete %}">Delete Some Friends</a></li>
{% endblock %}